package top.zlhy7.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author 任勇
 * @date 2020/12/10 22:08
 * @description
 */
@RestController
@RequestMapping("hello")
public class HelloController {
    /**
     * 测试请求
     * @param str
     * @return
     */
    @GetMapping("test")
    public String test(String str){
        return str;
    }
}
